<script type="text/javascript">
/* <![CDATA[ */
document.write('<div id="ajax-preview" ondblclick="hide_element(\'ajax-preview\')">');
document.write('<div id="ajax-preview-top">&nbsp;</div>');
document.write('<a id="ajax-preview-close" href="#" onclick="hide_element(\'ajax-preview\'); return false"><img src="templates/{$settings.template}/images/close.png" alt="[x]" title="{#close#}" width="14" height="14" /></a>');
document.write('<div id="ajax-preview-body">');
document.write('<div id="ajax-preview-handle">');
document.write('<div id="ajax-preview-throbber"><img src="templates/{$settings.template}/images/throbber.gif" alt="" width="16" height="16" /></div>');
document.write('<div id="ajax-preview-content"></div>');
{if $mode=='index'}document.write('<div id="ajax-preview-replylink">[ <a id="replylink" href="index.php?mode=posting" target="_blank">{#reply_link#}</a> ]</div>');{/if}
document.write('</div></div></div>');
//new Draggable('ajax-preview',{literal}{handle:'ajax-preview-handle'}{/literal});
/* ]]> */
</script>
